//
//  MSNavigationController.m
//  MSJD
//
//  Created by xiangbo on 2018/9/5.
//  Copyright © 2018 xiangbo. All rights reserved.
//

#import "MSNavigationController.h"

@interface MSNavigationController ()<UINavigationControllerDelegate>

@end

@implementation MSNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Rotation
- (BOOL)shouldAutorotate{
    return [ self.topViewController shouldAutorotate];
}
//当前viewcontroller支持哪些转屏方向
- (UIInterfaceOrientationMask)supportedInterfaceOrientations{
    return [ self.topViewController supportedInterfaceOrientations];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
